Programming in Objective-C (4th Edition) by Kochan Stephen G

Programming in Objective-C (4th Edition) by Kochan Stephen G

Author:Kochan, Stephen G. [Kochan, Stephen G.]
Language: eng
Format: epub, pdf
Publisher: Pearson Education (US)
Published: 2011-11-27T16:00:00+00:00


return 2.0 * 3.141592654; * r;

after the preprocessor had made its substitution, which would result in a syntax error. Remember not to put a semicolon at the end of your define statements unless you’re really sure you want one there.

A preprocessor definition does not have to be a valid Objective-C expression in its own right, as long as the resulting expression is valid wherever it is used. For instance, you could set up these definitions:

#define AND &&

#define OR ||

Then you could write expressions such as



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.